package sjtu.rfid.rri.services.casp.model;

import java.io.Serializable;
import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class ProcessReport implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -7134024412417095019L;

	private DataInfo dataInfo;
	private boolean hasProcessError;
	private List<ProcessError> processErrors;
	private boolean tooManyParents;

	/**
	 * @return the hasProcessError
	 */
	public boolean isHasProcessError() {
		return hasProcessError;
	}

	/**
	 * @param hasProcessError
	 *            the hasProcessError to set
	 */
	public void setHasProcessError(boolean hasProcessError) {
		this.hasProcessError = hasProcessError;
	}

	/**
	 * @return the processErrors
	 */
	public List<ProcessError> getProcessErrors() {
		return processErrors;
	}

	/**
	 * @param processErrors
	 *            the processErrors to set
	 */
	public void setProcessErrors(List<ProcessError> processErrors) {
		this.processErrors = processErrors;
	}

	/**
	 * @return the dataInfo
	 */
	public DataInfo getDataInfo() {
		return dataInfo;
	}

	/**
	 * @param dataInfo
	 *            the dataInfo to set
	 */
	public void setDataInfo(DataInfo dataInfo) {
		this.dataInfo = dataInfo;
	}

	/**
	 * @return the tooManyParents
	 */
	public boolean isTooManyParents() {
		return tooManyParents;
	}

	/**
	 * @param tooManyParents
	 *            the tooManyParents to set
	 */
	public void setTooManyParents(boolean tooManyParents) {
		this.tooManyParents = tooManyParents;
	}

}
